/**
 * 关闭窗口
 */
function closeRegist() {
	$("#regist").dialog('close');
}
/**
 * 客户注册表单提交
 */
function doSubmit() {
	$('#registForm').form('submit', {
		url:'regist.do',
		onSubmit:function() {
			return true;
		},
		success:function(data) {
			if(data == "sucess") {
				$.messager.alert('成功','用户注册成功！','info', function() {
					closeRegist();
				});
			} else {
				
			}
		}
	});
}